* {
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    -webkit-overflow-scrolling: auto;
}

.ui-user {
    display: block;
    width: 100%;
    min-height: 100%;
    padding: 0 .16rem .12rem;
    background-color: #efefef;
    position: relative; // overflow: auto;
    z-index: 3;
}

.ui-top {
    display: block;
    width: 100vw;
    height: 4rem;
    padding-top: .58rem;
    margin-left: -0.16rem;
    margin-bottom: -1.3rem;
    background-color: #0E0E16;
    background-size: cover;
    background-position: bottom;
    background-image: url(../../image/me/bgi.png);
    .ui-top-item {
        display: block;
        width: 100%;
        height: 1.28rem;
        padding-left: 2.12rem;
        position: relative;
        .ui-top-icon {
            display: block;
            position: absolute;
            left: .44rem;
            width: 1.28rem;
            height: 1.28rem;
            border-radius: .64rem;
            border: 1px solid #fff;
            background-position: center center;
            background-size: cover;
            background-repeat: no-repeat; // background-image: url(../../image/me/avatar.png);
            i {
                display: block;
                position: absolute;
                right: 0;
                bottom: 0;
                width: .32rem;
                height: .32rem;
                border-radius: .16rem;
                background-color: #9A57FF;
                &::after {
                    content: '';
                    display: block;
                    position: absolute;
                    margin: auto;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    top: 0;
                    width: .2rem;
                    height: .2rem;
                    background-position: center center;
                    background-size: 100% 100%;
                    background-repeat: no-repeat;
                    background-image: url(../../image/main/boy.png);
                }
            }
            .female::after {
                background-image: url(../../image/main/girl.png);
            }
        }
        .invalidImage {
            position: absolute;
            background-color: #000 !important;
            margin: auto;
            left: .44rem;
            width: 1.28rem;
            height: 1.28rem;
            border-radius: 100%;
            display: block;
            z-index: 11;
            .invalidWord {
                display: inline-block;
                width: 100%;
                text-align: center;
                font-size: .3rem;
                color: #fff;
            }
        }
        .ui-top-head {
            display: block;
            width: 100%;
            height: .3rem;
            margin-top: .12rem;
            .ui-top-name {
                float: left;
                line-height: .3rem;
                font-size: .3rem;
                color: #fff;
                margin-right: .2rem;
            }
            .ui-top-verification {
                float: left;
                height: .3rem;
                line-height: .22rem;
                font-size: .2rem;
                color: #fff;
                padding: .05rem .16rem;
                border-radius: .15rem;
                background-color: #9C9C9C;
            }
            .real {
                background-color: #9A57FF;
            }
            .vip {
                background-color: #FFC016;
            }
        }
        .ui-top-body {
            display: block;
            width: 100%;
            height: .24rem;
            margin: .16rem 0;
            .ui-body-item {
                float: left;
                line-height: .24rem;
                font-size: .24rem;
                color: #fff;
                margin-right: .2rem;
            }
        }
        .ui-top-address {
            display: block;
            width: 100%;
            height: .24rem;
            line-height: .24rem;
            font-size: .24rem;
            color: #9C9C9C;
        }
    }
}

.ui-list {
    display: block;
    width: 100%;
    padding: 0rem .3rem;
    background-color: #fff;
    border-radius: .16rem;
    .ui-list-item {
        display: block;
        position: relative;
        width: 100%;
        height: .88rem;
        padding-right: .6rem;
        .ui-item-left {
            float: left;
            line-height: .88rem;
            font-size: .3rem;
            color: #232323;
        }
        .pink {
            padding-left: .2rem;
            color: #FF7CFE;
            font-size: .24rem;
        }
        .ui-item-right {
            float: right;
            line-height: .88rem;
            font-size: .24rem;
            color: #9c9c9c;
        }
        .ui-item-number {
            float: right; // display: flex;
            // justify-content: center;
            // align-items: center;
            width: .74rem;
            height: .32rem;
            line-height: 1.5;
            font-size: .24rem;
            color: #fff;
            text-align: center;
            background-color: #FF7CFE;
            border-radius: .16rem;
            margin-top: .28rem;
        }
        .serve {
            color: #9A57FF;
        }
        .logout {
            color: #FF7CFE;
        }
    }
    .arrow {
        &:after {
            content: '>';
            display: block;
            position: absolute;
            right: 0;
            top: .3rem;
            width: .16rem;
            height: .4rem;
            font-size: .32rem;
            color: #9C9C9C;
        }
    }
    .bottom-line {
        &:before {
            content: '';
            display: block;
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 1px;
            background-color: #EFEFEF;
            transform: scale(1, 0.5);
            transform-origin: center center;
        }
    }
}

.images {
    display: flex;
    width: 100%;
    background-color: #fff;
    flex-wrap: wrap;
    padding: .1rem 0 .1rem .1rem;
    .img {
        width: 1.7rem;
        height: 1.7rem;
        position: relative;
        box-sizing: border-box;
        margin: 0 .06rem .1rem 0;
        overflow: hidden;
        border: 1px solid #eee;
        .bgi {
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center center;
            opacity: .7;
            background-repeat: no-repeat;
        }
        .mask {
            position: absolute;
            margin: auto;
            width: 100%;
            height: 100%;
            left: 0;
            top: 0;
            opacity: .96;
            box-shadow: 0 0 .5rem .7rem rgba(21, 21, 22, 1) inset; // background: -webkit-linear-gradient(#BDB5C8, #BDB5C8, #BDB5C8, #BDB5C8, #BDB5C8);
        }
        .black {
            box-shadow: 0 0 1rem 1rem #000 inset;
        }
        .spot {
            display: block;
            position: absolute;
            margin: auto;
            width: .64rem;
            height: .64rem;
            right: 0;
            top: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9;
            background-size: .4rem .4rem;
            background-position: center center;
            background-repeat: no-repeat;
            background-image: url(../../image/account/del.png);
            opacity: .8;
        }
        .text {
            font-size: .3rem;
            color: #000;
            position: absolute;
            margin: auto;
            bottom: .1rem;
            left: 0;
            right: 0;
            width: 100%;
            text-align: center;
            color: #fff;
        }
        &:nth-child(4n) {
            margin-right: 0;
        }
    }
    .add {
        width: 1.76rem;
        height: 1.76rem;
        position: relative;
        border: 1px dashed #ccc;
        border-radius: .3rem;
        display: flex;
        align-items: center;
        justify-content: center;
        img {
            width: .6rem;
            height: .6rem;
        }
    }
}

.marginBottom {
    margin-bottom: .3rem;
}

.paddingTop {
    padding: .1rem .3rem 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.ui-tip {
    display: block;
    position: relative;
    width: 100%;
    height: .72rem;
    line-height: .72rem;
    font-size: .2rem;
    color: #9C9C9C;
    padding: 0 .94rem;
    &:before {
        content: '!';
        display: block;
        position: absolute;
        left: .54rem;
        top: .26rem;
        width: .24rem;
        height: .24rem;
        line-height: .24rem;
        font-size: .2rem;
        color: #fff;
        text-align: center;
        border-radius: .12rem;
        background-color: #9C9C9C;
    }
}

.ui-popup {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 10;
    .ui-comment {
        display: block;
        position: absolute;
        width: 5.6rem;
        height: 4.5rem;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        background-color: #fff;
        border-radius: .2rem;
        padding: .9rem .6rem;
        box-shadow: 0 3px 4px 2px rgba(0, 0, 0, 0.4);
        .ui-comment-avatar {
            display: block;
            position: absolute;
            top: -.8rem;
            left: 50%;
            margin-left: -.8rem;
            width: 1.6rem;
            height: 1.6rem;
            border-radius: 50%;
            border: 2px solid #fff;
            background-size: cover;
            background-position: center center;
            background-color: #eee;
            z-index: 99;
            background-image: url(../../image/message/logo.png)
        }
        .ui-comment-title {
            display: block;
            position: relative;
            width: 100%;
            height: .6rem;
            line-height: .6rem;
            font-size: .3rem;
            color: #aaa;
            text-align: center;
            margin-bottom: .12rem;
            &:before {
                content: '';
                display: block;
                position: absolute;
                left: 50%;
                margin-left: 1rem;
                top: .28rem;
                width: 1.2rem;
                height: 1px;
                background-color: #aaa;
                transform: scale(1, 0.5);
                transform-origin: center center;
                z-index: 1;
            }
            &:after {
                content: '';
                display: block;
                position: absolute;
                right: 50%;
                margin-right: 1rem;
                top: .28rem;
                bottom: 0;
                width: 1.2rem;
                height: 1px;
                background-color: #aaa;
                transform: scale(1, 0.5);
                transform-origin: center center;
                z-index: 1;
            }
        }
        .ui-comment-list {
            display: block;
            height: 2.54rem;
            width: 3.6rem;
            margin: 0 auto;
            .ui-comment-item {
                display: block;
                float: left;
                width: 1rem;
                height: 1.2rem;
                margin-right: .3rem;
                &:nth-child(3n) {
                    margin-right: 0;
                }
                .ui-comment-number {
                    display: block;
                    width: 100%;
                    height: .6rem;
                    line-height: .3rem;
                    color: #aaa;
                    background-color: #ddd;
                    font-size: .3rem;
                    text-align: center;
                    border-radius: .12rem;
                    padding: .16rem 0;
                }
                .select {
                    background-color: #571A92;
                    color: #fff;
                }
                .ui-comment-tap {
                    display: block;
                    width: 100%;
                    height: .6rem;
                    line-height: .6rem;
                    color: #555;
                    font-size: .3rem;
                    text-align: center;
                }
            }
        }
        .ui-comment-btn {
            display: block;
            width: 100%;
            height: 1rem;
            line-height: 1rem;
            color: #F098EF;
            font-size: .3rem;
            text-align: center;
            border-top: 1px solid #ddd;
        }
    }
}

// .ui-popup {
//     display: block;
//     position: fixed;
//     top: 0;
//     left: 0;
//     width: 100%;
//     height: 100%;
//     background-color: rgba(0, 0, 0, 0.4);
//     z-index: 9;
//     .ui-comment {
//         display: block;
//         position: absolute;
//         width: 5.6rem;
//         height: 5.26rem;
//         top: 0;
//         left: 0;
//         right: 0;
//         bottom: 0;
//         margin: auto;
//         background-color: #fff;
//         border-radius: .2rem;
//         padding: .36rem .6rem 0;
//         .ui-comment-avatar {
//             display: block;
//             position: absolute;
//             top: -.8rem;
//             left: 50%;
//             margin-left: -.8rem;
//             width: 1.6rem;
//             height: 1.6rem;
//             border-radius: 50%;
//             background-size: cover;
//             background-position: center center;
//             background-color: #eee;
//         }
//         .ui-comment-hide {
//             display: block;
//             position: absolute;
//             top: 0;
//             right: 0;
//             width: 1rem;
//             height: 1rem;
//             background-repeat: no-repeat;
//             background-size: .32rem .32rem;
//             background-position: center center;
//             background-image: url(../../image/account/hide.png);
//         }
//         .ui-comment-name {
//             display: block;
//             position: relative;
//             width: 100%;
//             height: .6rem;
//             line-height: .6rem;
//             font-size: .3rem;
//             color: #333;
//             text-align: center;
//         }
//         .ui-comment-title {
//             display: block;
//             position: relative;
//             width: 100%;
//             height: .6rem;
//             line-height: .6rem;
//             font-size: .3rem;
//             color: #aaa;
//             text-align: center;
//             margin-bottom: .12rem;
//             &:before {
//                 content: '';
//                 display: block;
//                 position: absolute;
//                 left: 50%;
//                 margin-left: 1rem;
//                 top: .28rem;
//                 width: 1.2rem;
//                 height: 1px;
//                 background-color: #aaa;
//                 transform: scale(1, 0.5);
//                 transform-origin: center center;
//                 z-index: 1;
//             }
//             &:after {
//                 content: '';
//                 display: block;
//                 position: absolute;
//                 right: 50%;
//                 margin-right: 1rem;
//                 top: .28rem;
//                 bottom: 0;
//                 width: 1.2rem;
//                 height: 1px;
//                 background-color: #aaa;
//                 transform: scale(1, 0.5);
//                 transform-origin: center center;
//                 z-index: 1;
//             }
//         }
//         .ui-comment-list {
//             display: block;
//             height: 2.54rem;
//             width: 3.6rem;
//             margin: 0 auto;
//             .ui-comment-item {
//                 display: block;
//                 float: left;
//                 width: 1rem;
//                 height: 1.2rem;
//                 margin-right: .3rem;
//                 &:nth-child(3n) {
//                     margin-right: 0;
//                 }
//                 .ui-comment-number {
//                     display: block;
//                     width: 100%;
//                     height: .6rem;
//                     line-height: .3rem;
//                     color: #aaa;
//                     background-color: #ddd;
//                     font-size: .3rem;
//                     text-align: center;
//                     border-radius: .12rem;
//                     padding: .16rem 0;
//                 }
//                 .select {
//                     background-color: #571A92;
//                     color: #fff;
//                 }
//                 .ui-comment-tap {
//                     display: block;
//                     width: 100%;
//                     height: .6rem;
//                     line-height: .6rem;
//                     color: #555;
//                     font-size: .3rem;
//                     text-align: center;
//                 }
//             }
//         }
//         .ui-comment-btn {
//             display: block;
//             width: 100%;
//             height: 1rem;
//             line-height: 1rem;
//             color: #F098EF;
//             font-size: .3rem;
//             text-align: center;
//             border-top: 1px solid #ddd;
//         }
//     }
// }